﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace stpinball.manage
{
    /// <summary>
    /// Access to Type_Tournament object
    /// </summary>
    public class tournament_type
    {
        #region private properties

        private int _id;
        private string _name;
        //PHASE_NUMBER|NUMBER_OF_PINBALLS_PLAYER_MUST_PLAY|JOKER_TIME(0/1)|HOW_MANY_PLAYERS_CLASSIFIED_TO_NEXT_PHASE|SCORE_TOP_1;SCORE_TOP_2;SCORE_TOP_3....#PHASE_NUMBER|NUMBER_OF_PINBALLS_PLAYER_MUST_PLAY|JOKER_TIME(0/1)|HOW_MANY_PLAYERS_CLASSIFIED_TO_NEXT_PHASE|SCORE_TOP_1;SCORE_TOP_2;SCORE_TOP_3....
        private string _tournament_script;
        private tournament_configuration _tournament_configuration;

        #region

        #region public properties

        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string name
        {
            get { return _name; }
            set { _name = value; }
        }

        #endregion

        public tournament_type()
        {           
        }
    }

    public class tournament_configuration {
        public tournament_configuration(string p_tournament_script)
        { 
        
        }    
    }
}
